﻿<div id="content">
    <div class="container_box" style="margin-right:20px">
        <div class="row cpInfo">
            <div smart-include="project/views/sub-header.tpl.html"></div>
            <div class="col-xs-12 hidden-xs">
                <div class="line"></div>
            </div>
        </div>
        <div class=" row">
            <div class="col-sm-12">
                <div class="">
                    <div class="allProject">
                        <div class="text-center proItem" ng-hide="purview">

                            <div class="imglayer">
                                <div class="imglayer_top">
                                    <a class="thumbnail" style="cursor:pointer" ng-click="createProject()">
                                        <div class="mask"></div>
                                        <img src="styles/img/project/添加.png" alt="" style="width: 100%">
                                    </a>
                                </div>
                                <div class="pro-compile">
                                    <a class="new_pro" ng-click="createProject()">创建新项目</a>
                                </div>
                            </div>

                        </div>
                        <div class="text-center proItem" ng-repeat ="pro in projects">
                            <div class="imglayer">
                                <a href="javascript:void (0)" class="preject_delete" ng-click="del_granary(pro.id)"><i class="fa fa-times"></i></a>
                                <div class="imglayer_top" style="cursor: pointer;">
                                    <img ng-click="Edit_pro(pro.id)" src="styles/img/project/havepic.jpg" ng-src="{{pro.p_img}}" alt="">
                                </div>
                                <div class="pro-compile  color-fff" style="">
                                    <div class="caption color-fff">
                                        <p ng-click="Edit_pro(pro.id)">{{pro.name}}</p>
                                    </div>
                                    <a href="javascript:void (0)" class="Edit_pro" ng-click="Edit_pro(pro.id)">项目编辑</a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="modal fade in" id="del_granary" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header bg-color-white">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    ×
                </button>
                <h6 class="modal-title txt-color-black">
                    删除
                </h6>
            </div>

            <div class="modal-body">
                确定删除该项目 ？
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" data-dismiss="modal" ng-click="sure_del()">确定</button>
                <button type="button" class="btn btn-defalut" data-dismiss="modal">取消</button>
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>